Habits

John Doe

Exploratory Data Analysis

Importing Libraries

Loading Dataset

   Unnamed: 0       WHO Region ISO3 WHO Country Name    City or Locality  \
0           0  European Region  ALB          Albania             Elbasan   
1           1  European Region  ALB          Albania             Elbasan   
2           2  European Region  AND          Andorra  Escaldes-Engordany   
3           3  European Region  AND          Andorra  Escaldes-Engordany   
4           4  European Region  AND          Andorra  Escaldes-Engordany   

   Measurement Year  NO2 (μg/m3)  NO2 temporal coverage (%)  Population  \
0              2015        23.96                  97.853881   2880703.0   
1              2016        26.26                  96.049636   2876101.0   
2              2012        31.64                 100.000000     71013.0   
3              2014        27.62                 100.000000     71621.0   
4              2015        26.65                  94.554795     71746.0   

   Average NO2  
0        23.96  
1        26.26  
2        31.64  
3        27.62  
4        26.65  

Summary statistics of Dataset

         Unnamed: 0  Measurement Year   NO2 (μg/m3)  \
count  16364.000000      16364.000000  16364.000000   
mean    8181.500000       2015.587570     20.118549   
std     4724.024238          2.722397     11.370591   
min        0.000000       2010.000000      0.000000   
25%     4090.750000       2014.000000     11.857500   
50%     8181.500000       2016.000000     18.505000   
75%    12272.250000       2018.000000     26.710000   
max    16363.000000       2021.000000     89.770000   

       NO2 temporal coverage (%)    Population   Average NO2  
count               16364.000000  1.636400e+04  16364.000000  
mean                   96.802395  1.433897e+08     20.118549  
std                     2.648411  3.385217e+08      4.475790  
min                    90.011000  3.702900e+04      1.080000  
25%                    94.931507  1.958872e+07     16.986737  
50%                    97.350000  5.972908e+07     20.023105  
75%                    99.132420  6.715835e+07     23.060341  
max                   100.000000  1.383112e+09     59.820000  

Scatter plot for NO2 levels over the years

Bar chart for average NO2 levels by country

Bar chart for average NO2 levels by region

Bar chart for average NO2 levels by city

Heatmap for NO2 levels by country and year

Heatmap for NO2 levels by region and year

Heatmap for NO2 levels by city and year

Heatmap for NO2 levels by city and year in Eastern Mediterranean Region

Heatmap for NO2 levels by city and year in European Region

Heatmap for NO2 levels by city and year in Region of the Americas

Heatmap for NO2 levels by city and year in South East Asia Region

Heatmap for NO2 levels by city and year in Western Pacific Region

Bubble plot for NO2 levels by city and year with bubble size based on population for Eastern Mediterranean Region

Bubble plot for NO2 levels by city and year with bubble size based on population for European Region

Bubble plot for NO2 levels by city and year with bubble size based on population for Region of the Americas

Bubble plot for NO2 levels by city and year with bubble size based on population for South East Asia Region

Bubble plot for NO2 levels by city and year with bubble size based on population for Western Pacific Region

Choropleth map for NO2 levels by country in each WHO region

Violin plot for NO2 levels by Region

Box plot for NO2 levels by region

Pie chart to show the total NO2 levels for each region

Group by data EDA

     Measurement Year WHO Country Name  Frequency
0                2010          Austria        103
1                2010          Belgium         41
2                2010         Bulgaria         16
3                2010          Croatia          4
4                2010           Cyprus          2
..                ...              ...        ...
339              2019   United Kingdom         98
340              2020           Kuwait          5
341              2020            Qatar          1
342              2020        Singapore          1
343              2021            Qatar          1

[344 rows x 3 columns]

Bar chart to show the total frequency for each country across all years

Line plot for the frequency over the years for different countries

Box plot to show the distribution of frequency across different years

Scatter plot to show the relationship between measurement year and frequency

Heatmap to visualize the distribution of measurements by both year and country

Choropleth Map of Frequency of Measurements by Country for Each Year

Violin plot to visualize the distribution of frequency measurements by year

Pie chart to show the distribution of frequencies across countries

Measurement Year WHO Country Name WHO Region Frequency
0 2010 Austria European Region 103
1 2010 Belgium European Region 41
2 2010 Bulgaria European Region 16
3 2010 Croatia European Region 4
4 2010 Cyprus European Region 2

Violin plot to visualize the distribution of frequency

Box plot to visualize the distribution of frequency

Bar chart to show the total frequency for each region

Bubble chart to visualize frequency distribution by region

Pie chart to show the distribution of frequencies across regions

Heatmap for the frequency distribution